@extends('index.app')

@section('navbar')
    <ol class="breadcrumb">
        <li><a href="{{url('/')}}">首页</a></li>
        <li class="active">注册</li>
    </ol>
@endsection
@section('content')
    <div class="panel panel-default">
        <div class="panel-heading">注册</div>
        <div class="panel-body">
            <form id="register_form" class="form-horizontal" method="POST" action="{{ url('/account/register') }}">
                <input type="hidden" name="_token" value="{{ csrf_token() }}">
                <fieldset>
                    <div class="form-group">
                        <label for="name" class="col-sm-2 control-label">姓名</label>

                        <div class="col-sm-3">
                            <input type="text" class="form-control" id="name" name="name" placeholder="输入您的姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="email" class="col-sm-2 control-label">电子邮件</label>

                        <div class="col-sm-3">
                            <input type="email" class="form-control" id="email" name="email" placeholder="输入你的电子邮件地址">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password" class="col-sm-2 control-label">密码</label>

                        <div class="col-sm-3">
                            <input type="password" class="form-control" id="password" name="password"
                                   placeholder="请输入密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password_confirmation" class="col-sm-2 control-label">确认密码</label>

                        <div class="col-sm-3">
                            <input type="password" class="form-control" id="password_confirmation"
                                   name="password_confirmation" placeholder="请输入确认密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-3 col-sm-offset-2">
                            <button type="submit" class="btn btn-primary">注册</button>
                        </div>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
@endsection
